package com.yxkj.syh.app.huarong.bean;

import com.yxkj.syh.app.huarong.adps.ItemSelectAdp;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 创建者：SYH
 * 时间：2020/6/11 19:22
 * 编辑者：SYH、
 * 标签：
 * 补充说明：
 */
public class CarInfo implements ItemSelectAdp.ShowText, Serializable {

    private Long code;
    private String  name;
    private String val;

//    @ApiModelProperty(name = "no", value = "车牌号")
    private String no;

//    @ApiModelProperty(name = "tag", value = "汽车标签", notes = "品牌+型号+颜色")
    private String tag;

//    @ApiModelProperty(name = "loadWeight", value = "核载重量", notes = "单位t")
    private BigDecimal loadWeight ;

//    @ApiModelProperty(name = "mileage", value = "里程数", notes = "单位km")
    private Integer mileage = 0;

//    @ApiModelProperty(name = "isBind", value = "是否绑定", notes = "是否绑定驾驶员（0-未绑定，1-绑定）")
    private Integer isBind ;

//    @ApiModelProperty(name = "carLicense", value = "车辆行驶证")
    private String carLicense;

//    @ApiModelProperty(name = "carLicenseIndate", value = "行驶证有效期")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    @JsonFormat(pattern = "yyyy-MM-dd")
    private String carLicenseIndate;

//    @ApiModelProperty(name = "compulsoryInsurance", value = "交强险保单")
    private String compulsoryInsurance;

//    @ApiModelProperty(name = "compulsoryInsuranceIndate", value = "交强险有效期")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    @JsonFormat(pattern = "yyyy-MM-dd")
    private String compulsoryInsuranceIndate;

//    @ApiModelProperty(name = "commercialInsurance", value = "商业险保单")
    private String commercialInsurance;

//    @ApiModelProperty(name = "commercialInsuranceIndate", value = "商业险有效期")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    @JsonFormat(pattern = "yyyy-MM-dd")
    private String commercialInsuranceIndate;

//    @ApiModelProperty(name = "inspection", value = "年检单")
    private String inspection;

//    @ApiModelProperty(name = "inspectionIndate", value = "年检有效期")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    @JsonFormat(pattern = "yyyy-MM-dd")
    private String inspectionIndate;

//    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

//    @ApiModelProperty(name = "used", value = "状态", notes = "Y-启用，N-禁用，W-待绑定")
    private String used;

//    @ApiModelProperty(name = "creator", value = "创建人")
//    @TableField(fill = FieldFill.INSERT)
    private String creator;

//    @ApiModelProperty(name = "updator", value = "修改人")
//    @TableField(fill = FieldFill.UPDATE)
    private String updator;

//    @ApiModelProperty(name = "createTime", value = "创建时间")
//    @TableField(fill = FieldFill.INSERT)
    private String createTime;

//    @ApiModelProperty(name = "updateTime", value = "修改时间")
//    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

//    @ApiModelProperty(name = "driverInfo", value = "驾驶员信息")
//    @TableField(exist = false)
//    private ShiroUser driverInfo;
//@ApiModelProperty(name = "carName", value = "车辆别名")
//@TableField(exist = false)
private String carName;

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVal() {
        return val;
    }

    public void setVal(String val) {
        this.val = val;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public BigDecimal getLoadWeight() {
        return loadWeight;
    }

    public void setLoadWeight(BigDecimal loadWeight) {
        this.loadWeight = loadWeight;
    }

    public Integer getMileage() {
        return mileage;
    }

    public void setMileage(Integer mileage) {
        this.mileage = mileage;
    }

    public Integer getIsBind() {
        return isBind;
    }

    public void setIsBind(Integer isBind) {
        this.isBind = isBind;
    }

    public String getCarLicense() {
        return carLicense;
    }

    public void setCarLicense(String carLicense) {
        this.carLicense = carLicense;
    }

    public String getCarLicenseIndate() {
        return carLicenseIndate;
    }

    public void setCarLicenseIndate(String carLicenseIndate) {
        this.carLicenseIndate = carLicenseIndate;
    }

    public String getCompulsoryInsurance() {
        return compulsoryInsurance;
    }

    public void setCompulsoryInsurance(String compulsoryInsurance) {
        this.compulsoryInsurance = compulsoryInsurance;
    }

    public String getCompulsoryInsuranceIndate() {
        return compulsoryInsuranceIndate;
    }

    public void setCompulsoryInsuranceIndate(String compulsoryInsuranceIndate) {
        this.compulsoryInsuranceIndate = compulsoryInsuranceIndate;
    }

    public String getCommercialInsurance() {
        return commercialInsurance;
    }

    public void setCommercialInsurance(String commercialInsurance) {
        this.commercialInsurance = commercialInsurance;
    }

    public String getCommercialInsuranceIndate() {
        return commercialInsuranceIndate;
    }

    public void setCommercialInsuranceIndate(String commercialInsuranceIndate) {
        this.commercialInsuranceIndate = commercialInsuranceIndate;
    }

    public String getInspection() {
        return inspection;
    }

    public void setInspection(String inspection) {
        this.inspection = inspection;
    }

    public String getInspectionIndate() {
        return inspectionIndate;
    }

    public void setInspectionIndate(String inspectionIndate) {
        this.inspectionIndate = inspectionIndate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getUsed() {
        return used;
    }

    public void setUsed(String used) {
        this.used = used;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getUpdator() {
        return updator;
    }

    public void setUpdator(String updator) {
        this.updator = updator;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    @Override
    public String getShowText() {
        return name;
    }
}
